package org.csu.mypetstore.domain.PO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@JsonIgnoreProperties(value = {"handler"})
@TableName("account")
@Data
public class Account implements Serializable {
    private static final long serialVersionUID = -3332900833773708596L;
    private String username;
    private String email;
    private String firstname;
    private String lastname;
    @TableField("address1")
    private String address1;
    @TableField("address2")
    private String address2;
    private String city;
    private String province;
    private String zip;
    private String country;
    private String phone;
}
